DeserializeType<TSerializer>
Assembly: ServiceStack.Text.dll
View Source
Declaration
public static class DeserializeType<TSerializer>
where TSerializer : ITypeSerializer
Methods
ObjectStringToType(ReadOnlySpan<Char>)
View Source
Declaration
public static object ObjectStringToType(ReadOnlySpan<char> strType)
Returns
System.Object
Parameters
Type | Name |
---|---|
ReadOnlySpan<System.Char> | strType |
ExtractType(String)
View Source
Declaration
public static Type ExtractType(string strType)
Returns
System.Type
Parameters
Type | Name |
---|---|
System.String | strType |
ExtractType(ReadOnlySpan<Char>)
View Source
Declaration
public static Type ExtractType(ReadOnlySpan<char> strType)
Returns
System.Type
Parameters
Type | Name |
---|---|
ReadOnlySpan<System.Char> | strType |
ParseAbstractType<T>(ReadOnlySpan<Char>)
View Source
Declaration
public static object ParseAbstractType<T>(ReadOnlySpan<char> value)
Returns
System.Object
Parameters
Type | Name |
---|---|
ReadOnlySpan<System.Char> | value |
Type Parameters
T
ParseQuotedPrimitive(String)
View Source
Declaration
public static object ParseQuotedPrimitive(string value)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.String | value |
ParsePrimitive(String)
View Source
Declaration
public static object ParsePrimitive(string value)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.String | value |
ParsePrimitive(ReadOnlySpan<Char>)
View Source
Declaration
public static object ParsePrimitive(ReadOnlySpan<char> value)
Returns
System.Object
Parameters
Type | Name |
---|---|
ReadOnlySpan<System.Char> | value |